<header id="fh5co-header-section" role="header" class="">
    <style>
        #fh5co-header-section{
            /*padding: 0!important;*/
        }
        #site-nav{
            display: flex;
            margin: 0 auto;
            height: 30px;
            width: 1170px;
            padding:0 50px 0 22px;
            padding-top:10px;
        }
        #site-nav a{
            color: #28bbf8;
            font-size: 13px;
        }
        .ml-auto {
            margin-left: auto!important;
        }
        .pull-left img{
            padding-top: 24px;
            height: 66px;
            margin-left: 38px;
        }
    </style>

    @if(Auth::check())
    <div id="site-nav">
        <p id="login-info" class="sn-login-info">
            <a href="#">{{ Auth::user()->username }}&nbsp;欢迎您！&nbsp;&nbsp;</a>&nbsp;&nbsp;
            <a href="{{ route('logout') }}">退出</a>&nbsp;&nbsp;
        </p>

        <p class="menu d-flex flex-row-reverse ml-auto">
            <a href="#"><span class="icon-cart"></span>&nbsp;购物车
                <span class="mc-count mc-pt3">
                    <script type="text/javascript" src="#"></script>0
                </span>件
            </a>
        </p>
    </div>
    @endif

    <div class="container">
        <!-- START #fh5co-logo -->
        <h1 id="fh5co-logo" class="pull-left"><a href=""><img src="/app/logo.png" style="height:58px;"></a></h1>

        <!-- START #fh5co-menu-wrap -->
        <nav id="fh5co-menu-wrap" role="navigation">
            <ul class="sf-menu" id="fh5co-primary-menu1">
                @if(! Auth::check())
                    <li><a href="{{ route('login') }}">
                            <span class="top_btn">登录</span>
                        </a>
                    </li>
                    <li>
                        <a href="{{ route('register') }}">
                            <span class="top_btn">注册</span>
                        </a>
                    </li>
                @endif
            </ul>
            <ul class="sf-menu" id="fh5co-primary-menu">
                <li id="index"><a href="/">首页</a></li>
                <li id="about"><a href="{{ route('about') }}">关于我们</a></li>
                <li id="course"><a href="{{ route('course') }}">潮汐培训会员</a></li>
                <li id="soft"><a href="{{ route('soft') }}">易快得软件</a></li>
                <li id="service"><a href="{{ route('service') }}">策略服务</a></li>
{{--                <li id="news"><a href="/news/list.aspx?c=20">新闻中心</a></li>--}}
            </ul>
        </nav>
    </div>
</header>
